package ucl.cs.bank.common;

/**
 * UCLBank Remote Interface.
 * @author  K. Bryson.
 * @version 1.0
 */

import java.rmi.RemoteException;

public interface UCLBank extends java.rmi.Remote {
	
   int              createAccount(String name)        throws RemoteException;
   void             deleteAccount(int account_number) throws RemoteException, NoSuchAccountException;
   UCLAccount       getAccount(int account_number)    throws RemoteException, NoSuchAccountException;
   UCLAccountInfo[] listAccounts()                    throws RemoteException; 

}
